Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

starfive visionfive2: update kernel to 6.4.0 #630

Merged
merged 1 commit into from
Jul 8, 2023

Conversation

NickCao
Copy link
Member

@NickCao NickCao commented May 16, 2023

Description of changes
Things done
  • Tested the changes in your own NixOS Configuration
  • Tested the changes end-to-end by using your fork of nixos-hardware and
    importing it via <nixos-hardware> or Flake input

@NickCao
Copy link
Member Author

NickCao commented May 16, 2023

Got some issues with mmc:

checking /dev/disk/by-label/NIXOS_SD...
fsck (busybox 1.36.0)
[fsck.ext4 (1) -- /mnt-root/] fsck.ext4 -a /dev/disk/by-label/NIXOS_SD
[    5.445043] I/O error, dev mmcblk0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 2
NIXOS_SD: clean, 126482/200800 files, 668282/803002 blocks
[    5.470096] I/O error, dev mmcblk0, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 0 prio class 2
mounting /dev/disk/by-label/NIXOS_SD on /...
[    5.523469] mmc1: Failed to initialize a non-removable card
[    7.502389] I/O error, dev mmcblk0, sector 16384 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 2
[    7.517048] Buffer I/O error on dev mmcblk0p3, logical block 0, lost sync page write
[    7.524829] EXT4-fs (mmcblk0p3): I/O error while writing superblock
[    7.531137] EXT4-fs (mmcblk0p3): error loading journal
mount: mounting /dev/disk/by-label/NIXOS_SD on /mnt-root/ failed: Input/output error

Trying again with another sdcard.

@NickCao
Copy link
Member Author

NickCao commented May 16, 2023

Oops, let's keep this a draft.

[   18.904285] detected buffer overflow in __fortify_strlen
[   18.906172] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[   18.909737] ------------[ cut here ]------------
[   18.909742] kernel BUG at lib/string_helpers.c:1027!
[   18.909749] Kernel BUG [#1]

@NickCao NickCao marked this pull request as ready for review May 17, 2023 07:34
@NickCao
Copy link
Member Author

NickCao commented May 17, 2023

Tested booting from sdard, and running iperf3.

@NickCao NickCao marked this pull request as draft May 17, 2023 16:11
@NickCao
Copy link
Member Author

NickCao commented May 17, 2023

@0x4A6F reports some instability of the new kernel, namely panicking in page_zero_new_buffers
Also I noticed that our fix-memory-size.patch breaks compatibility with 4GB boards.

@leifhelm
Copy link
Contributor

leifhelm commented May 17, 2023

The fix-memory-size.patch is a dirty fix to unlock the full 8 GB of my board. I have not figured out how this would be done in the right way. starfive-tech/VisionFive2#20 documents this issue. Feel free to remove that patch.

@kangaroo
Copy link

This PR built and booted for me. Still having NVMe timeouts, but going to try to rebuild the lastest nixpkgs:master to see if I also see a problem in page_zero_new_buffers.

@0x4A6F do you perhaps have a 4GB board?

@NickCao NickCao force-pushed the visionfive2 branch 2 times, most recently from 8a67141 to 1eb76c2 Compare May 26, 2023 06:14
@NickCao NickCao changed the title starfive visionfive2: update kernel to 6.4.0-rc2 starfive visionfive2: update kernel to 6.4.0-rc3 May 26, 2023
@0x4A6F
Copy link
Member

0x4A6F commented May 26, 2023

I only have 8GB boards, this board and the other ones work fine before this bump.

@NickCao NickCao changed the title starfive visionfive2: update kernel to 6.4.0-rc3 starfive visionfive2: update kernel to 6.4.0-rc4 May 31, 2023
@Mic92
Copy link
Member

Mic92 commented Jun 8, 2023

@0x4A6F I might miss something but do you have problems with this change on your hardware?

@colemickens
Copy link
Member

Does rc6 build for you @NickCao, I seem to get this:

       > WARNING: modpost: vmlinux.o: section mismatch in reference: starfive_timer_driver (section: .data) -> starfive_timer_probe (section: .init.text)
       > drivers/gpu/drm/verisilicon/vs_drm: struct of_device_id is 200 bytes.  The last of 1 is:
       > 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x76 0x65 0x72 0x69 0x73 0x69 0x6c 0x69 0x63 0x6f 0x6e 0x2c 0x64 0x69 0x73 0x70 0x6c 0x61 0x79 0x2d 0x73 0x75 0x62 0x73 0x79 0x73 0x74 0x65 0x6d 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
       > FATAL: modpost: drivers/gpu/drm/verisilicon/vs_drm: struct of_device_id is not terminated with a NULL entry!

@NickCao
Copy link
Member Author

NickCao commented Jun 19, 2023

Does rc6 build for you @NickCao, I seem to get this:

Same for me.

@NickCao NickCao changed the title starfive visionfive2: update kernel to 6.4.0-rc4 starfive visionfive2: update kernel to 6.4.0 Jul 1, 2023
@NickCao
Copy link
Member Author

NickCao commented Jul 1, 2023

Did not test, but at least it builds.

@NickCao NickCao marked this pull request as ready for review July 1, 2023 10:27
@Mic92
Copy link
Member

Mic92 commented Jul 8, 2023

bors merge

@bors bors bot merged commit 47dca15 into NixOS:master Jul 8, 2023
1 check passed
@bors
Copy link
Contributor

bors bot commented Jul 8, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

  • tests

@0x4A6F
Copy link
Member

0x4A6F commented Jul 12, 2023

Using following to build an sd-image:

# nix flake metadata
Inputs:
├───flake-utils: github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7
│   └───systems: github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e
├───nixos-hardware: github:nixos/nixos-hardware/47dca15d86fdd2eabcf434d7cc0b5baa8d1a463c
└───nixpkgs: github:NixOS/nixpkgs/4729ffac6fd12e26e5a8de002781ffc49b0e94b7

# cat flake.nix
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
  inputs.nixos-hardware.url = "github:nixos/nixos-hardware";
  inputs.flake-utils.url = "github:numtide/flake-utils";
  outputs = { self, nixpkgs, nixos-hardware, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      rec {
        packages.default = packages.sd-image;
        packages.sd-image = (import "${nixpkgs}/nixos" {
          configuration =
            { config, pkgs, ... }: {
              imports = [
                "${nixos-hardware}/starfive/visionfive/v2/sd-image-installer.nix"
              ];
              # If you want to use ssh set a password
              # users.users.nixos.password = "super secure password";
              # OR add your public ssh key
              users.users.nixos.openssh.authorizedKeys.keys = [ 
                # snip
              ];
              users.users.root.openssh.authorizedKeys.keys = [
                # snip
              ];
              # AND configure networking
              networking.interfaces.end0.useDHCP = true;
              networking.interfaces.end1.useDHCP = true;
              # If you have the 2A variant uncomment the following line
              # hardware.deviceTree.name =
              #   lib.mkDefault "starfive/jh7110-starfive-visionfive-2-v1.2a.dtb";
              # Additional configuration goes here
              sdImage.compressImage = false;
              nixpkgs.crossSystem = {
                config = "riscv64-unknown-linux-gnu";
                system = "riscv64-linux";
              };
             # 8GB Variant
              hardware.deviceTree.overlays = [{
                name = "8GB-patch";
                dtsFile =
                  "${nixos-hardware}/starfive/visionfive/v2/visionfive-2-v1.3b-8GB.dts";
              }];
              environment.systemPackages = with pkgs; [
                btop
                deploy-rs
                git
                tmux
                vim
                wget
                nix-output-monitor # haskell
                # BROKEN: ghc
                nixfmt
              ];
              system.stateVersion = "23.05";
            };
          inherit system;
        }).config.system.build.sdImage;
      });
}

Building btop (nix-build -A pkgs.btop --log-format internal-json -v |& nom --json which I was able to build with older kernel) with a checkout of nixpkgs at 4729ffac6fd12e26e5a8de002781ffc49b0e94b7 and running in idle results in kernel panics:

  • first run:
[ 1165.818180] Oops - store (or AMO) access fault [#1]
[ 1165.818194] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore snd_soc_jh7110_pwmdac_dit snd_soc_simple_card snd_soc_simple_card_utils jh7110_pwmdac jh7110_tdm imx219 cdns_csi2rx snd_soc_core v4l2_fwnode v4l2_async ofpart rfkill cmdlinepart spi_nor videodev motorcomm 8021q snd_compress dwmac_starfive ac97_bus cdns3 axp20x_regulator stmmac_platform snd_pcm_dmaengine vs_drm snd_pcm cdns_usb_common mtd stmmac roles axp20x_i2c axp20x mfd_core regmap_i2c mc pcs_xpcs phylink of_mdio drm_kms_helper fixed_phy fwnode_mdio libphy clk_starfive_jh7110_vout cdns3_starfive usb_common snd_timer ptp clk_starfive_jh7110_isp phy_starfive_dphy_rx pcie_starfive clk_starfive_jh7110_aon pinctrl_starfive_jh7110_aon starfive_wdt pps_core dw_axi_dmac_platform spi_cadence_quadspi clk_starfive_jh7110_stg jh7110_trng watchdog snd rng_core xt_conntrack i2c_designware_platform sfctemp i2c_designware_core phy_jh7110_usb led_class nf_conntrack phy_jh7110_pcie syscopyarea sysfillrect sysimgblt soundcore nf_defrag_ipv6
[ 1165.818461]  nf_defrag_ipv4 xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq nf_tables uio libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan drm bridge stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[ 1165.818612] CPU: 0 PID: 1109 Comm: nix-build Not tainted 6.4.0 #1-NixOS
[ 1165.818622] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[ 1165.818626] epc : __memset+0x60/0xfc
[ 1165.818643]  ra : __handle_mm_fault+0x5f6/0xe60
[ 1165.818654] epc : ffffffff8080e914 ra : ffffffff801ff4d0 sp : ffffffc805073d40
[ 1165.818660]  gp : ffffffff81781110 tp : ffffffd8c1000000 t0 : ffffffd800000000
[ 1165.818666]  t1 : ffffffff8080e4f8 t2 : 0000000000000100 s0 : ffffffc805073e20
[ 1165.818672]  s1 : ffffffd8d3cc37e8 a0 : ffffffd800000000 a1 : 0000000000000000
[ 1165.818678]  a2 : 0000000000001000 a3 : ffffffd800001000 a4 : 0000000000000000
[ 1165.818683]  a5 : 0000000040000000 a6 : 0000000000040000 a7 : ffffffffffffffff
[ 1165.818688]  s2 : ffffffd8ce663850 s3 : ffffffc701000000 s4 : ffffffd8ce663850
[ 1165.818694]  s5 : 0000000000100073 s6 : ffffffff81780950 s7 : ffffffd8c2851080
[ 1165.818699]  s8 : ffffffff81780951 s9 : ffffffff81002800 s10: 0000003f67fffb30
[ 1165.818704]  s11: 0000000000000000 t3 : 0000000000000080 t4 : 0000000000000d31
[ 1165.818709]  t5 : ffffffd8c6fa0a0c t6 : ffffffc805073dc8
[ 1165.818714] status: 0000000200000120 badaddr: ffffffd800000000 cause: 0000000000000007
[ 1165.818720] [<ffffffff8080e914>] __memset+0x60/0xfc
[ 1165.818732] [<ffffffff801ffeaa>] handle_mm_fault+0x170/0x268
[ 1165.818740] [<ffffffff8000c6b2>] handle_page_fault+0x196/0x458
[ 1165.818751] [<ffffffff80819f34>] do_page_fault+0x22/0x3e
[ 1165.818763] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[ 1165.818784] Code: 1007 82b3 40e2 0797 0000 8793 00e7 8305 97ba 8782 (b023) 00b2
[ 1166.090912] ---[ end trace 0000000000000000 ]---
[ 1166.090918] Kernel panic - not syncing: Fatal exception in interrupt
[ 1166.090922] SMP: stopping secondary CPUs
[ 1166.105841] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
  • second run:
[  352.900998] Oops - store (or AMO) access fault [#1]
[  352.901012] Modules linked in: af_packet cfg80211 xhci_pci xhci_pci_renesas xhci_hcd usbcore snd_soc_simple_card snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm jh7110_pwmdac snd_soc_core cdns_c
si2rx imx219 v4l2_fwnode rfkill v4l2_async 8021q motorcomm videodev dwmac_starfive stmmac_platform snd_compress ac97_bus stmmac snd_pcm_dmaengine snd_pcm ofpart cmdlinepart pcs_xpcs spi_nor phylink of_mdio cdns3
fixed_phy cdns_usb_common fwnode_mdio roles mtd libphy vs_drm axp20x_regulator drm_kms_helper axp20x_i2c axp20x snd_timer mfd_core regmap_i2c mc clk_starfive_jh7110_vout ptp cdns3_starfive usb_common pps_core phy
_starfive_dphy_rx dw_axi_dmac_platform snd pcie_starfive led_class clk_starfive_jh7110_isp spi_cadence_quadspi clk_starfive_jh7110_aon pinctrl_starfive_jh7110_aon jh7110_trng syscopyarea sysfillrect xt_conntrack
sfctemp nf_conntrack rng_core starfive_wdt watchdog i2c_designware_platform i2c_designware_core phy_jh7110_pcie phy_jh7110_usb clk_starfive_jh7110_stg sysimgblt soundcore nf_defrag_ipv6
[  352.901280]  nf_defrag_ipv4 xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan drm br
idge stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  352.901430] CPU: 0 PID: 1163 Comm: nix-build Not tainted 6.4.0 #1-NixOS
[  352.901440] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  352.901444] epc : __memset+0x60/0xfc
[  352.901461]  ra : zero_user_segments+0xaa/0x172
[  352.901475] epc : ffffffff8080e914 ra : ffffffff802d0dfc sp : ffffffc80517bad0
[  352.901481]  gp : ffffffff81781110 tp : ffffffd8c107d940 t0 : ffffffd80002a000
[  352.901487]  t1 : 3b8d93c9df0b9756 t2 : c4fc4c1cb812e8ba s0 : ffffffc80517bb10
[  352.901493]  s1 : ffffffd80002a000 a0 : ffffffd80002a000 a1 : 0000000000000000
[  352.901498]  a2 : 0000000000001000 a3 : ffffffd80002b000 a4 : 0000000000000000
[  352.901503]  a5 : 0000000000000000 a6 : 0000000000000000 a7 : ffffffff81002800
[  352.901508]  s2 : 0000000000000000 s3 : 0000000000000000 s4 : ffffffc701000a80
[  352.901513]  s5 : 0000000000000000 s6 : 0000000000000000 s7 : ffffffd806840500
[  352.901518]  s8 : 0000000000001000 s9 : ffffffd8d2d937e0 s10: ffffffff01bd0098
[  352.901524]  s11: 0000000000001000 t3 : 0000000000001000 t4 : d2a2a61ac77341f2
[  352.901529]  t5 : 0000000000001000 t6 : 0000000000040000
[  352.901533] status: 0000000200000120 badaddr: ffffffd80002a000 cause: 0000000000000007
[  352.901539] [<ffffffff8080e914>] __memset+0x60/0xfc
[  352.901551] [<ffffffff802d1abc>] page_zero_new_buffers+0x186/0x1f2
[  352.901561] [<ffffffff802d1c12>] block_write_end+0xea/0x110
[  352.901572] [<ffffffff802d1c68>] generic_write_end+0x30/0xf6
[  352.901585] [<ffffffff01c186be>] $xrv64i2p1_m2p0_a2p1_c2p0_zicsr2p0_zifencei2p0_zihintpause2p0_zmmul1p0+0x62/0xe8 [ext4]
[  352.913353] [<ffffffff801b114a>] generic_perform_write+0x10c/0x248
[  352.913374] [<ffffffff01c055c0>] ext4_buffered_write_iter+0x7c/0x112 [ext4]
[  352.924850] [<ffffffff01c05792>] ext4_file_write_iter+0xc4/0x71a [ext4]
[  352.936319] [<ffffffff8028b7f4>] vfs_write+0x1f4/0x344
[  352.936337] [<ffffffff8028baae>] ksys_write+0x66/0xe2
[  352.936348] [<ffffffff8028bb44>] sys_write+0x1a/0x22
[  352.936359] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  352.936372] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  352.936394] Code: 1007 82b3 40e2 0797 0000 8793 00e7 8305 97ba 8782 (b023) 00b2
[  353.260484] ---[ end trace 0000000000000000 ]---
[  353.260490] Kernel panic - not syncing: Fatal exception in interrupt
[  353.260487] Oops - store (or AMO) access fault [#2]
[  353.260494] SMP: stopping secondary CPUs
[  353.260497] Modules linked in: af_packet cfg80211 xhci_pci xhci_pci_renesas xhci_hcd usbcore snd_soc_simple_card snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm jh7110_pwmdac snd_soc_core cdns_csi2rx imx219 v4l2_fwnode rfkill v4l2_async 8021q motorcomm videodev dwmac_starfive stmmac_platform snd_compress ac97_bus stmmac snd_pcm_dmaengine snd_pcm ofpart cmdlinepart pcs_xpcs spi_nor phylink of_mdio cdns3 fixed_phy cdns_usb_common fwnode_mdio roles mtd libphy vs_drm axp20x_regulator drm_kms_helper axp20x_i2c axp20x snd_timer mfd_core regmap_i2c mc clk_starfive_jh7110_vout ptp cdns3_starfive usb_common pps_core phy_starfive_dphy_rx dw_axi_dmac_platform snd pcie_starfive led_class clk_starfive_jh7110_isp spi_cadence_quadspi clk_starfive_jh7110_aon pinctrl_starfive_jh7110_aon jh7110_trng syscopyarea sysfillrect xt_conntrack sfctemp nf_conntrack rng_core starfive_wdt watchdog i2c_designware_platform i2c_designware_core phy_jh7110_pcie phy_jh7110_usb clk_starfive_jh7110_stg sysimgblt soundcore nf_defrag_ipv6
[  353.260764]  nf_defrag_ipv4 xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan drm bridge stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  353.260914] CPU: 3 PID: 1202 Comm: a6b0cd7y94yqxgd Tainted: G      D            6.4.0 #1-NixOS
[  353.260923] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  353.260928] epc : __memset+0x16/0xfc
[  353.260943]  ra : zero_user_segments+0xaa/0xfc [ext4]
[  353.272447] epc : ffffffff8080e8ca ra : ffffffff01c10b5e sp : ffffffc80450bab0
[  353.272455]  gp : ffffffff81781110 tp : ffffffd8ce6d6600 t0 : ffffffd800069dd6
[  353.272461]  t1 : 27ffffffffffffff t2 : 0000000000000100 s0 : ffffffc80450baf0
[  353.272466]  s1 : ffffffd800069000 a0 : ffffffd800069dd6 a1 : 0000000000000000
[  353.272472]  a2 : 000000000000022a a3 : ffffffd800069dd8 a4 : 0000000000000002
[  353.272477]  a5 : 0000000000000000 a6 : 0000000000000000 a7 : ffffffff81002800
[  353.272482]  s2 : 0000000000000000 s3 : 0000000000000000 s4 : ffffffc701001a40
[  353.272488]  s5 : ffffffc701001a40 s6 : 0000000000000000 s7 : ffffffd80682e300
[  353.272493]  s8 : 0000000000001000 s9 : ffffffd8f710b7e0 s10: 0000000000000000
[  353.272498]  s11: ffffffd80682e300 t3 : ffffffffffffffff t4 : 00000000ffffffff
[  353.272504]  t5 : ffffffd8c03ee428 t6 : ffffffd8c03ee448
[  353.272508] status: 0000000200000120 badaddr: ffffffd800069dd6 cause: 0000000000000007
[  353.272515] [<ffffffff8080e8ca>] __memset+0x16/0xfc
[  353.272534] [<ffffffff01c10ec0>] ext4_block_write_begin+0x29c/0x3bc [ext4]
[  353.284018] [<ffffffff01c17ab0>] $xrv64i2p1_m2p0_a2p1_c2p0_zicsr2p0_zifencei2p0_zihintpause2p0_zmmul1p0+0x60/0x1f2 [ext4]
[  353.295482] [<ffffffff801b10e4>] generic_perform_write+0xa6/0x248
[  353.295504] [<ffffffff01c055c0>] ext4_buffered_write_iter+0x7c/0x112 [ext4]
[  353.306992] [<ffffffff01c05792>] ext4_file_write_iter+0xc4/0x71a [ext4]
[  353.318469] [<ffffffff8028b7f4>] vfs_write+0x1f4/0x344
[  353.318486] [<ffffffff8028baae>] ksys_write+0x66/0xe2
[  353.318497] [<ffffffff8028bb44>] sys_write+0x1a/0x22
[  353.318508] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  353.318522] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  353.318544] Code: 3693 0106 e2f5 8693 0072 9ae1 8a63 0056 8733 4056 (8023) 00b2
[  353.323174] ---[ end trace 0000000000000000 ]---
[  354.518626] SMP: failed to stop secondary CPUs 0,3
[  354.854387] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---
  • third run (not building btop, just journalctl -f and btop running)
[  497.583900] shutdown[1]: Rebooting.
[  497.591442] reboot: Restarting system
[  518.594959] rcu: INFO: rcu_sched self-detected stall on CPU
[  518.600556] rcu:     0-....: (5250 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=2081
[  518.610229] rcu:     (t=5254 jiffies g=31581 q=282 ncpus=4)
[  518.615555] CPU: 0 PID: 1 Comm: shutdown Not tainted 6.4.0 #1-NixOS
[  518.621835] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  518.627416] epc : machine_restart+0x18/0x1a
[  518.631621]  ra : machine_restart+0x18/0x1a
[  518.635819] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  518.643053]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  518.650287]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  518.657521]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  518.664754]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  518.671987]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  518.679219]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  518.686454]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  518.693687]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  518.700920]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  518.708153]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  518.713472] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  518.721400] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  518.726899] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  518.732316] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  518.737990] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  518.743057] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  518.748647] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  544.006788] watchdog: BUG: soft lockup - CPU#0 stuck for 45s! [shutdown:1]
[  544.013676] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  544.014118]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  544.141050] CPU: 0 PID: 1 Comm: shutdown Not tainted 6.4.0 #1-NixOS
[  544.147328] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  544.152907] epc : machine_restart+0x18/0x1a
[  544.157106]  ra : machine_restart+0x18/0x1a
[  544.161303] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  544.168536]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  544.175770]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  544.183003]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  544.190235]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  544.197469]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  544.204702]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  544.211936]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  544.219168]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  544.226401]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  544.233634]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  544.238954] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  544.246883] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  544.252383] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  544.257798] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  544.263472] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  544.268539] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  544.274126] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  572.006606] watchdog: BUG: soft lockup - CPU#0 stuck for 71s! [shutdown:1]
[  572.013495] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  572.013905]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  572.140821] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  572.148578] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  572.154157] epc : machine_restart+0x18/0x1a
[  572.158355]  ra : machine_restart+0x18/0x1a
[  572.162551] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  572.169786]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  572.177021]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  572.184255]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  572.191487]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  572.198720]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  572.205952]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  572.213185]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  572.220417]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  572.227650]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  572.234883]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  572.240203] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  572.248130] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  572.253629] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  572.259044] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  572.264717] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  572.269784] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  572.275373] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  581.766544] rcu: INFO: rcu_sched self-detected stall on CPU
[  581.772129] rcu:     0-....: (20869 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=8613
[  581.781886] rcu:     (t=21047 jiffies g=31581 q=282 ncpus=4)
[  581.787297] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  581.795053] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  581.800632] epc : machine_restart+0x18/0x1a
[  581.804830]  ra : machine_restart+0x18/0x1a
[  581.809027] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  581.816260]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  581.823495]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  581.830730]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  581.837964]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  581.845197]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  581.852430]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  581.859663]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  581.866897]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  581.874131]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  581.881364]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  581.886684] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  581.894612] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  581.900112] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  581.905526] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  581.911199] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  581.916266] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  581.921853] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  608.006378] watchdog: BUG: soft lockup - CPU#0 stuck for 105s! [shutdown:1]
[  608.013351] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  608.013761]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  608.140675] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  608.148431] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  608.154012] epc : machine_restart+0x18/0x1a
[  608.158209]  ra : machine_restart+0x18/0x1a
[  608.162404] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  608.169638]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  608.176871]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  608.184104]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  608.191338]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  608.198571]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  608.205805]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  608.213038]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  608.220271]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  608.227505]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  608.234739]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  608.240059] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  608.247986] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  608.253486] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  608.258901] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  608.264575] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  608.269641] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  608.275229] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  636.006202] watchdog: BUG: soft lockup - CPU#0 stuck for 131s! [shutdown:1]
[  636.013178] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  636.013587]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  636.140501] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  636.148257] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  636.153836] epc : machine_restart+0x18/0x1a
[  636.158034]  ra : machine_restart+0x18/0x1a
[  636.162230] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  636.169463]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  636.176698]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  636.183931]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  636.191163]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  636.198397]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  636.205631]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  636.212864]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  636.220098]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  636.227331]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  636.234564]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  636.239884] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  636.247812] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  636.253311] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  636.258725] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  636.264399] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  636.269466] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  636.275053] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  644.934146] rcu: INFO: rcu_sched self-detected stall on CPU
[  644.939729] rcu:     0-....: (36486 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=15789
[  644.949573] rcu:     (t=36838 jiffies g=31581 q=282 ncpus=4)
[  644.954984] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  644.962740] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  644.968320] epc : machine_restart+0x18/0x1a
[  644.972517]  ra : machine_restart+0x18/0x1a
[  644.976712] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  644.983946]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  644.991179]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  644.998414]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  645.005646]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  645.012880]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  645.020113]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  645.027346]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  645.034578]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  645.041811]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  645.049044]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  645.054363] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  645.062292] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  645.067790] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  645.073204] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  645.078878] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  645.083945] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  645.089532] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  672.005979] watchdog: BUG: soft lockup - CPU#0 stuck for 164s! [shutdown:1]
[  672.012952] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  672.013361]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  672.140274] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  672.148031] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  672.153610] epc : machine_restart+0x18/0x1a
[  672.157808]  ra : machine_restart+0x18/0x1a
[  672.162003] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  672.169236]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  672.176469]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  672.183703]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  672.190935]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  672.198168]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  672.205401]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  672.212635]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  672.219868]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  672.227101]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  672.234334]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  672.239654] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  672.247583] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  672.253082] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  672.258496] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  672.264170] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  672.269237] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  672.274824] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  700.005807] watchdog: BUG: soft lockup - CPU#0 stuck for 190s! [shutdown:1]
[  700.012781] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  700.013190]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  700.140102] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  700.147859] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  700.153438] epc : machine_restart+0x18/0x1a
[  700.157635]  ra : machine_restart+0x18/0x1a
[  700.161830] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  700.169063]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  700.176297]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  700.183531]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  700.190763]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  700.197995]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  700.205228]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  700.212461]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  700.219693]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  700.226926]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  700.234160]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  700.239480] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  700.247409] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  700.252909] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  700.258323] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  700.263997] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  700.269064] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  700.274651] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  708.101756] rcu: INFO: rcu_sched self-detected stall on CPU
[  708.107339] rcu:     0-....: (52103 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=23668
[  708.117182] rcu:     (t=52630 jiffies g=31581 q=282 ncpus=4)
[  708.122593] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  708.130349] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  708.135929] epc : machine_restart+0x18/0x1a
[  708.140126]  ra : machine_restart+0x18/0x1a
[  708.144323] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  708.151556]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  708.158790]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  708.166023]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  708.173255]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  708.180488]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  708.187722]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  708.194957]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  708.202191]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  708.209425]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  708.216658]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  708.221978] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  708.229907] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  708.235406] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  708.240820] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  708.246494] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  708.251560] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  708.257147] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  736.005585] watchdog: BUG: soft lockup - CPU#0 stuck for 224s! [shutdown:1]
[  736.012559] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  736.012968]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  736.139881] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  736.147637] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  736.153219] epc : machine_restart+0x18/0x1a
[  736.157415]  ra : machine_restart+0x18/0x1a
[  736.161612] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  736.168845]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  736.176078]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  736.183312]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  736.190544]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  736.197777]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  736.205011]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  736.212246]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  736.219479]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  736.226712]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  736.233946]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  736.239266] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  736.247195] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  736.252695] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  736.258109] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  736.263783] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  736.268850] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  736.274437] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  764.005413] watchdog: BUG: soft lockup - CPU#0 stuck for 250s! [shutdown:1]
[  764.012387] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  764.012794]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  764.139706] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  764.147462] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  764.153041] epc : machine_restart+0x18/0x1a
[  764.157238]  ra : machine_restart+0x18/0x1a
[  764.161435] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  764.168668]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  764.175902]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  764.183135]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  764.190367]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  764.197600]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  764.204832]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  764.212066]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  764.219298]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  764.226531]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  764.233765]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  764.239085] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  764.247012] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  764.252512] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  764.257926] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  764.263600] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  764.268666] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  764.274254] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  771.269369] rcu: INFO: rcu_sched self-detected stall on CPU
[  771.274952] rcu:     0-....: (67720 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=31547
[  771.284797] rcu:     (t=68422 jiffies g=31581 q=282 ncpus=4)
[  771.290208] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  771.297964] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  771.303544] epc : machine_restart+0x18/0x1a
[  771.307740]  ra : machine_restart+0x18/0x1a
[  771.311935] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  771.319168]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  771.326402]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  771.333636]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  771.340868]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  771.348101]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  771.355333]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  771.362568]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  771.369802]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  771.377035]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  771.384269]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  771.389589] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  771.397516] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  771.403014] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  771.408429] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  771.414102] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  771.419169] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  771.424756] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  796.005217] watchdog: BUG: soft lockup - CPU#0 stuck for 280s! [shutdown:1]
[  796.012190] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  796.012599]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  796.139511] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  796.147268] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  796.152847] epc : machine_restart+0x18/0x1a
[  796.157043]  ra : machine_restart+0x18/0x1a
[  796.161240] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  796.168474]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  796.175707]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  796.182941]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  796.190173]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  796.197406]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  796.204639]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  796.211873]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  796.219105]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  796.226338]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  796.233571]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  796.238891] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  796.246819] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  796.252318] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  796.257733] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  796.263407] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  796.268473] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  796.274061] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  824.005046] watchdog: BUG: soft lockup - CPU#0 stuck for 306s! [shutdown:1]
[  824.012024] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  824.012434]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  824.139348] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  824.147104] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  824.152684] epc : machine_restart+0x18/0x1a
[  824.156882]  ra : machine_restart+0x18/0x1a
[  824.161077] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  824.168311]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  824.175544]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  824.182779]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  824.190012]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  824.197244]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  824.204477]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  824.211710]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  824.218943]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  824.226175]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  824.233408]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  824.238728] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  824.246656] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  824.252154] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  824.257568] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  824.263242] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  824.268309] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  824.273896] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  834.436982] rcu: INFO: rcu_sched self-detected stall on CPU
[  834.442564] rcu:     0-....: (83337 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=39099
[  834.452407] rcu:     (t=84215 jiffies g=31581 q=389 ncpus=4)
[  834.457818] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  834.465574] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  834.471154] epc : machine_restart+0x18/0x1a
[  834.475350]  ra : machine_restart+0x18/0x1a
[  834.479545] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  834.486779]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  834.494012]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  834.501245]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  834.508478]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  834.515711]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  834.522944]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  834.530177]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  834.537410]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  834.544643]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  834.551876]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  834.557196] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  834.565124] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  834.570622] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  834.576037] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  834.581710] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  834.586777] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  834.592364] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  860.004825] watchdog: BUG: soft lockup - CPU#0 stuck for 339s! [shutdown:1]
[  860.011799] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  860.012208]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  860.139120] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  860.146876] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  860.152455] epc : machine_restart+0x18/0x1a
[  860.156654]  ra : machine_restart+0x18/0x1a
[  860.160849] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  860.168083]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  860.175317]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  860.182550]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  860.189783]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  860.197016]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  860.204248]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  860.211482]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  860.218714]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  860.225947]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  860.233180]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  860.238500] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  860.246428] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  860.251926] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  860.257341] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  860.263015] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  860.268081] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  860.273668] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  888.004654] watchdog: BUG: soft lockup - CPU#0 stuck for 366s! [shutdown:1]
[  888.011629] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_
platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x
mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout
 drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_sta
rfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  888.012036]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge
 drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  888.138948] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  888.146704] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  888.152284] epc : machine_restart+0x18/0x1a
[  888.156480]  ra : machine_restart+0x18/0x1a
[  888.160675] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  888.167909]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  888.175142]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  888.182376]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  888.189608]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  888.196841]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  888.204074]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  888.211307]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  888.218539]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  888.225774]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  888.233006]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  888.238326] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  888.246254] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  888.251754] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  888.257169] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  888.262843] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  888.267909] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  888.273497] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  897.612595] rcu: INFO: rcu_sched self-detected stall on CPU
[  897.618178] rcu:     0-....: (98956 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=46674
[  897.628023] rcu:     (t=100009 jiffies g=31581 q=389 ncpus=4)
[  897.633519] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  897.641275] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  897.646855] epc : machine_restart+0x18/0x1a
[  897.651051]  ra : machine_restart+0x18/0x1a
[  897.655246] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  897.662479]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  897.669714]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  897.676948]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  897.684180]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  897.691413]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  897.698645]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  897.705878]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  897.713111]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  897.720344]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  897.727577]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  897.732897] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  897.740826] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  897.746326] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  897.751740] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  860.233180]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  860.238500] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  860.246428] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  860.251926] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  860.257341] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  860.263015] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  860.268081] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  860.273668] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  888.004654] watchdog: BUG: soft lockup - CPU#0 stuck for 366s! [shutdown:1]
[  888.011629] Modules linked in: af_packet xhci_pci xhci_pci_renesas xhci_hcd cfg80211 usbcore imx219 cdns_csi2rx v4l2_fwnode ofpart v4l2_async cmdlinepart jh7110_pwmdac videodev motorcomm dwmac_starfive stmmac_platform snd_soc_simple_card stmmac snd_soc_jh7110_pwmdac_dit snd_soc_simple_card_utils jh7110_tdm spi_nor snd_soc_core rfkill 8021q axp20x_regulator snd_compress mtd ac97_bus snd_pcm_dmaengine axp20x_i2c axp20x mfd_core cdns3 cdns_usb_common regmap_i2c roles snd_pcm pcs_xpcs mc phylink of_mdio fixed_phy fwnode_mdio libphy dw_axi_dmac_platform phy_starfive_dphy_rx vs_drm cdns3_starfive usb_common clk_starfive_jh7110_vout drm_kms_helper jh7110_trng pcie_starfive pinctrl_starfive_jh7110_aon rng_core clk_starfive_jh7110_aon spi_cadence_quadspi snd_timer clk_starfive_jh7110_isp ptp snd pps_core xt_conntrack led_class sfctemp clk_starfive_jh7110_stg syscopyarea nf_conntrack starfive_wdt sysfillrect sysimgblt watchdog phy_jh7110_pcie soundcore i2c_designware_platform nf_defrag_ipv6 nf_defrag_ipv4 i2c_designware_core
[  888.012036]  phy_jh7110_usb xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq uio nf_tables libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan bridge drm stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  888.138948] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  888.146704] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  888.152284] epc : machine_restart+0x18/0x1a
[  888.156480]  ra : machine_restart+0x18/0x1a
[  888.160675] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  888.167909]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  888.175142]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  888.182376]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  888.189608]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  888.196841]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  888.204074]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  888.211307]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  888.218539]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  888.225774]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  888.233006]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  888.238326] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  888.246254] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  888.251754] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  888.257169] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  888.262843] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  888.267909] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  888.273497] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  897.612595] rcu: INFO: rcu_sched self-detected stall on CPU
[  897.618178] rcu:     0-....: (98956 ticks this GP) idle=00c4/1/0x4000000000000000 softirq=23763/23763 fqs=46674
[  897.628023] rcu:     (t=100009 jiffies g=31581 q=389 ncpus=4)
[  897.633519] CPU: 0 PID: 1 Comm: shutdown Tainted: G             L     6.4.0 #1-NixOS
[  897.641275] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  897.646855] epc : machine_restart+0x18/0x1a
[  897.651051]  ra : machine_restart+0x18/0x1a
[  897.655246] epc : ffffffff80004ef4 ra : ffffffff80004ef4 sp : ffffffc80400bd30
[  897.662479]  gp : ffffffff81781110 tp : ffffffd8c0233300 t0 : ffffffff8080e82c
[  897.669714]  t1 : 0720072007200720 t2 : 52203a746f6f6265 s0 : ffffffc80400bd40
[  897.676948]  s1 : 0000000000000000 a0 : 0000000000000000 a1 : 0000000000000000
[  897.684180]  a2 : 0000000000000000 a3 : ffffffffffffffff a4 : 0000000000000000
[  897.691413]  a5 : 0000000000000000 a6 : ffffffff8162d190 a7 : 000000000000006d
[  897.698645]  s2 : 0000000028121969 s3 : ffffffff81625570 s4 : fffffffffee1dead
[  897.705878]  s5 : 0000003ff6b9cd88 s6 : 0000000000000000 s7 : 0000002ac49b8d30
[  897.713111]  s8 : 0000003ff6b9d8b8 s9 : 0000002ac49b7ca8 s10: 0000002ac49b7c98
[  897.720344]  s11: 0000002ac49b7c88 t3 : ffffffd8c0098f00 t4 : ffffffd8c0098f00
[  897.727577]  t5 : ffffffd8c0098000 t6 : ffffffc80400bb68
[  897.732897] status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000005
[  897.740826] [<ffffffff80004ef4>] machine_restart+0x18/0x1a
[  897.746326] [<ffffffff8003d610>] kernel_restart+0x8e/0xac
[  897.751740] [<ffffffff8003d8ee>] __do_sys_reboot+0x110/0x204
[  897.757413] [<ffffffff8003daf2>] sys_reboot+0x1e/0x26
[  897.762480] [<ffffffff80819efe>] do_trap_ecall_u+0xf0/0x104
[  897.768068] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
  • fourth run:
[  248.196374] Oops - store (or AMO) access fault [#1]
[  248.196387] Modules linked in: af_packet cfg80211 xhci_pci xhci_pci_renesas xhci_hcd usbcore motorcomm dwmac_starfive stmmac_platform stmmac rfkill 8021q jh7110_pwmdac imx219 cdns_csi2rx v4l2_fwnode jh7110_tdm
 v4l2_async snd_soc_simple_card ofpart cmdlinepart snd_soc_simple_card_utils snd_soc_jh7110_pwmdac_dit videodev spi_nor snd_soc_core pcs_xpcs phylink vs_drm snd_compress of_mdio cdns3 fixed_phy fwnode_mdio ac97_b
us snd_pcm_dmaengine cdns_usb_common roles libphy axp20x_regulator mtd snd_pcm mc axp20x_i2c axp20x mfd_core regmap_i2c cdns3_starfive usb_common pcie_starfive starfive_wdt drm_kms_helper spi_cadence_quadspi watc
hdog clk_starfive_jh7110_vout ptp phy_starfive_dphy_rx snd_timer jh7110_trng clk_starfive_jh7110_isp rng_core pinctrl_starfive_jh7110_aon dw_axi_dmac_platform snd xt_conntrack clk_starfive_jh7110_stg phy_jh7110_u
sb clk_starfive_jh7110_aon nf_conntrack pps_core sfctemp led_class syscopyarea sysfillrect sysimgblt i2c_designware_platform nf_defrag_ipv6 i2c_designware_core nf_defrag_ipv4
[  248.196653]  phy_jh7110_pcie soundcore xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq nf_tables uio libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap mac
vlan drm bridge stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  248.196807] CPU: 1 PID: 3746 Comm: ld Not tainted 6.4.0 #1-NixOS
[  248.196816] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  248.196821] epc : __memcpy+0x60/0xf8
[  248.196837]  ra : copy_user_highpage.constprop.0+0x3e/0x5c
[  248.196853] epc : ffffffff8080e698 ra : ffffffff801f9b70 sp : ffffffc809043c80
[  248.196859]  gp : ffffffff81781110 tp : ffffffd8d720e600 t0 : 0000000000000400
[  248.196865]  t1 : 00000000000aaad0 t2 : 00000000000aaa78 s0 : ffffffc809043c90
[  248.196870]  s1 : ffffffc809043d48 a0 : ffffffd800000000 a1 : ffffffd8f4607000
[  248.196876]  a2 : 0000000000001000 a3 : ffffffd8f4608000 a4 : 0000000000000400
[  248.196881]  a5 : 00000000000aaab8 a6 : 00000000000aaa78 a7 : 000000050000006d
[  248.196887]  s2 : ffffffc704d181c0 s3 : ffffffc701000000 s4 : ffffffd8cecd84c0
[  248.196892]  s5 : 00000000000af000 s6 : ffffffd8c03dcd00 s7 : 0000000000000a55
[  248.196897]  s8 : ffffffff81780951 s9 : ffffffc701000000 s10: 0000003fffffd590
[  248.196903]  s11: 000000006474e553 t3 : 000000070000006e t4 : 0000000000000001
[  248.196908]  t5 : 00000000000aaae0 t6 : ffffffd800000000
[  248.196912] status: 0000000200000120 badaddr: ffffffd800000000 cause: 0000000000000007
[  248.196919] [<ffffffff8080e698>] __memcpy+0x60/0xf8
[  248.196929] [<ffffffff801fcdf0>] do_wp_page+0x24a/0xd32
[  248.196941] [<ffffffff801ff566>] __handle_mm_fault+0x68c/0xe60
[  248.196950] [<ffffffff801ffeaa>] handle_mm_fault+0x170/0x268
[  248.196958] [<ffffffff8000c6b2>] handle_page_fault+0x196/0x458
[  248.196969] [<ffffffff80819f34>] do_page_fault+0x22/0x3e
[  248.196981] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  248.197001] Code: b303 0285 b383 0305 be03 0385 be83 0405 bf03 0485 (b023) 00ef
[  248.480564] ---[ end trace 0000000000000000 ]---
[  248.480570] Kernel panic - not syncing: Fatal exception in interrupt
[  248.480567] Oops - store (or AMO) access fault [#2]
[  248.480574] SMP: stopping secondary CPUs
[  248.480577] Modules linked in: af_packet cfg80211 xhci_pci xhci_pci_renesas xhci_hcd usbcore motorcomm dwmac_starfive stmmac_platform stmmac rfkill 8021q jh7110_pwmdac imx219 cdns_csi2rx v4l2_fwnode jh7110_tdm v4l2_async snd_soc_simple_card ofpart cmdlinepart snd_soc_simple_card_utils snd_soc_jh7110_pwmdac_dit videodev spi_nor snd_soc_core pcs_xpcs phylink vs_drm snd_compress of_mdio cdns3 fixed_phy fwnode_mdio ac97_bus snd_pcm_dmaengine cdns_usb_common roles libphy axp20x_regulator mtd snd_pcm mc axp20x_i2c axp20x mfd_core regmap_i2c cdns3_starfive usb_common pcie_starfive starfive_wdt drm_kms_helper spi_cadence_quadspi watchdog clk_starfive_jh7110_vout ptp phy_starfive_dphy_rx snd_timer jh7110_trng clk_starfive_jh7110_isp rng_core pinctrl_starfive_jh7110_aon dw_axi_dmac_platform snd xt_conntrack clk_starfive_jh7110_stg phy_jh7110_usb clk_starfive_jh7110_aon nf_conntrack pps_core sfctemp led_class syscopyarea sysfillrect sysimgblt i2c_designware_platform nf_defrag_ipv6 i2c_designware_core nf_defrag_ipv4
[  248.480842]  phy_jh7110_pcie soundcore xt_tcpudp ip6t_rpfilter ipt_rpfilter xt_pkttype nft_compat uio_pdrv_genirq nf_tables uio libcrc32c nfnetlink sch_fq_codel atkbd libps2 serio vivaldi_fmap loop tun tap macvlan drm bridge stp llc fuse backlight i2c_core efi_pstore firmware_class pstore configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 mmc_block dw_mmc_starfive dw_mmc_pltfm dw_mmc mmc_core dm_mod dax
[  248.480997] CPU: 2 PID: 2952 Comm: cc1plus Tainted: G      D            6.4.0 #1-NixOS
[  248.481007] Hardware name: StarFive VisionFive 2 v1.3B (DT)
[  248.481011] epc : __memset+0x60/0xfc
[  248.481028]  ra : __handle_mm_fault+0x5f6/0xe60
[  248.481038] epc : ffffffff8080e914 ra : ffffffff801ff4d0 sp : ffffffc805f13d40
[  248.481045]  gp : ffffffff81781110 tp : ffffffd8d8036600 t0 : ffffffd80002a000
[  248.481051]  t1 : ffffffff8080e4f8 t2 : 0000000000000100 s0 : ffffffc805f13e20
[  248.481056]  s1 : ffffffd8d76b17f8 a0 : ffffffd80002a000 a1 : 0000000000000000
[  248.481062]  a2 : 0000000000001000 a3 : ffffffd80002b000 a4 : 0000000000000000
[  248.481067]  a5 : 000000004002a000 a6 : 000000000004002a a7 : ffffffffffffffff
[  248.481072]  s2 : ffffffd8d72aec78 s3 : ffffffc701000a80 s4 : ffffffd8d72aec78
[  248.481078]  s5 : 0000000000100073 s6 : ffffffff81780950 s7 : ffffffd8c29d8000
[  248.481083]  s8 : ffffffff81780951 s9 : ffffffff81002800 s10: 0000000000000000
[  248.481088]  s11: 0000000000ed4c58 t3 : 0000000000000080 t4 : 0000000000000d31
[  248.481093]  t5 : ffffffd8d2e7d80c t6 : ffffffc805f13dc8
[  248.481098] status: 0000000200000120 badaddr: ffffffd80002a000 cause: 0000000000000007
[  248.481104] [<ffffffff8080e914>] __memset+0x60/0xfc
[  248.481115] [<ffffffff801ffeaa>] handle_mm_fault+0x170/0x268
[  248.481124] [<ffffffff8000c6b2>] handle_page_fault+0x196/0x458
[  248.481134] [<ffffffff80819f34>] do_page_fault+0x22/0x3e
[  248.481147] [<ffffffff80003f40>] ret_from_exception+0x0/0x64
[  248.481167] Code: 1007 82b3 40e2 0797 0000 8793 00e7 8305 97ba 8782 (b023) 00b2
[  248.485790] ---[ end trace 0000000000000000 ]---
[  249.738586] SMP: failed to stop secondary CPUs 1-2
[  250.031686] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]---

@Mic92
Copy link
Member

Mic92 commented Jul 14, 2023

@0x4A6F should we revert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants